package org.example.dao;

import org.example.api.entity.User;

import java.sql.Connection;
import java.util.List;

/**
 * @Author: Re
 * @Date: 2021/4/17 23:17
 */
public interface IUserDao {
    boolean addUser(Connection connection, User user);
    User checkUser(Connection connection,User user);
    boolean deleteUser(Connection connection,User user);
    boolean updateUser(Connection connection,User user);
    List<User> checkAllUser(Connection connection);
}
